getInt

fun getInt(key: String, defaultVal: Int): Int

Get the integer value associated with the given key. If there is no integer value associated with the key, return the defaultVal.


fun getInt(key: Any, defaultVal: Int): Int